import java.util.Arrays;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int[] arr = {1, 2, 3, 4, 5, 11, 9, 10, 16};
        System.out.println(Arrays.toString(arr));
        int target = scanner.nextInt();
        System.out.println("target:" + target);
        int[] arr1 = new int[2];
        //fun(arr1, arr, target);
        if (arr1[0] == 0 && arr1[1] == 0) {
            System.out.println("没有找到！");
        } else {
            System.out.println(Arrays.toString(arr1));
        }
    }

    public static void fun (int[] arr1, int[] arr, int n){
        int count = 0;
        for (int i = 0; i < arr.length; i++) {
            for (int j = 0; j < arr.length; j++) {
                if (arr[i] + arr[j] == n) {
                    arr1[0] = i;
                    arr1[1] = j;
                    break;
                }
            }
            break;
        }
    }
}


//    public static void main1(String[] args) {
//        int[] arr={23,1,5,7,2,12,3,43};
//        System.out.println("转换前："+Arrays.toString(arr));
//        sort(arr);
//        System.out.println("转换后："+Arrays.toString(arr));
//    }
//
//    public static void sort(int[] arr){
//        for (int i = 0; i < arr.length-1; i++) {
//            for(int j=0;j<arr.length-1-i;j++){
//                if(arr[j]>arr[j+1]){
//                    int tmp=arr[j];
//                    arr[j]=arr[j+1];
//                    arr[j+1]=tmp;
//                }
//            }
//        }
//    }
//}
